package 倒排索引2;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        pList twoList = new pList();

        //创建
        twoList.creat(scanner,twoList.allWord,twoList.rowWord);
        //排序
        twoList.sort(twoList.allWord);
        //全部打印
        twoList.print(twoList.allWord);
        //查找打印
        twoList.search(scanner,twoList.rowWord);
    }
}
